import { http } from './client';

export const getPreferences = () => http.get('/user/preferences');
export const updatePreferences = (prefs) => http.put('/user/preferences', { body: prefs });
export const resetPreferences = () => http.post('/user/preferences/reset');